<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>


<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${applicationScope.KEY_SITE_NAME}</title>
<link href="resources/css/intstyle.css" rel="stylesheet" type="text/css" />
<link href="resources/css/jquery-ui.css" rel="stylesheet"
	type="text/css" />
<link href="resources/css/jquery.dataTables.css" rel="stylesheet"
	type="text/css" />


<script type="text/javascript" src="resources/scripts/jquery-1.9.1.js"></script>
<script type="text/javascript"
	src="resources/scripts/jquery-ui.custom.js"></script>
<script type="text/javascript"
	src="resources/scripts/jquery.dataTables.js"></script>
<script type="text/javascript" src="resources/scripts/common.js"></script>


<script type="text/javascript">
<!--
	$(document).ready(function() {
		
		renderButtons();
		changeSideMenuBackColor("sideMenuIntAuth");
		
		getDataTable("authtable", dataTableLabels, 20);
	});
	//-->
</script>

<!--[if lte IE 7]>
<style>
.content { margin-right: -1px; } /* 此 1px 负边距可以放置在此布局中的任何列中，且具有相同的校正效果。 */
ul.nav a { zoom: 1; }  /* 缩放属性将为 IE 提供其需要的 hasLayout 触发器，用于校正链接之间的额外空白 */
</style>
<![endif]-->
</head>

<body>

	<div class="container">
		<%@include file="../header.jsp"%>
		<%@include file="sidebar.jsp"%>
		<div id="contentBoxDiv" class="content">
			<div class="subnav">
			<spring:message code="Label.menu.headnav.user"/>&gt;&gt;
			<spring:message code="Label.menu.sidenav.user.title.int"/>&gt;&gt;
			<spring:message code="Label.menu.sidenav.user.int.auth"/>
			</div>
			<%@include file="../errorMessagePanel.jsp"%>
			<div class="box">
					<h2>
						<spring:message code="Label.user.internal.auth" />
					</h2>
				<div class="box" style="border: none;">
					<table id="authtable" width="100%">
						<thead>
							<tr>
								<th width="5%"><spring:message code="Label.common.SN" /></th>
								<th><spring:message code="Label.auth.name" /></th>
							</tr>
						</thead>
						<tbody>

							<c:if test="${not empty authList}">
								<c:forEach items="${authList}" var="auth" varStatus="status">
									<tr>
										<td>${status.index+1}</td>
										<td><spring:message code="${auth.authName}" /></td>
									</tr>
								</c:forEach>
							</c:if>

						</tbody>
					</table>
				</div>
			</div>

			<!-- end .content -->
		</div>
		<div class="clearfloat" />
		<%@include file="../footer.jsp"%>
		<!-- end .container -->
	</div>
</body>
</html>